Displays an open-file dialog box allowing the user to select a folder rather than a file.
Syntax |
|---|
|
result = SelectFolder( ) |
Return Value |
||
|---|---|---|
|
Result |
The folder the user selected. |
|
Notes
The SelectFolder function displays a dialog box similar to the open-file dialog box displayed by the GetOpenFolderItem function. The difference is that the dialog box displayed by the SelectFolder function allows the user to choose a folder rather than a file.
Examples
This example displays the name of the folder the user chose.
See Also
GetOpenFolderItem, GetSaveFolderItem functions; SelectFolderDialog class.